package cn.edu.neusoft.mall.service.impl;

import cn.edu.neusoft.mall.Dao.impl.subscribeDaoImpl;
import cn.edu.neusoft.mall.Dao.subscribeDao;
import cn.edu.neusoft.mall.entity.subscribe;
import cn.edu.neusoft.mall.service.subService;

import java.util.List;

public class subServiceimpl implements subService {
    subscribeDao subDao=new subscribeDaoImpl();
    @Override
    public List<subscribe> getSubServiceList() {
        return subDao.getSubscribeList();
    }

    @Override
    public int addSubService(subscribe subscribe) {
        return subDao.addSubscribe(subscribe);
    }
}
